package ru.rchervot.sanasar.client.view;

import ru.rchervot.sanasar.client.model.UserSettings;

import com.google.gwt.event.shared.HandlerManager;

public class ModuleOrdersPresenter extends AbstractModuleSearchPresenter {
	
	public ModuleOrdersPresenter(ModuleSearchPresenterDisplay display, 
			HandlerManager eventBus,
			UserSettings settings) {
		
		super(display, eventBus, settings);
	}

	@Override
	protected void addHandlerNewRecord() {
//		eventBus.addHandler(NewRecordEventOrders.TYPE,
//				new HandlerNewRecordOrders() {
//			public void onNewRecordChange(NewRecordEventOrders event) {
//				switchToRecordEditPanel();
//			}
//		});
	}
	
}
